package com.prize.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.prize.pojo.member.Level;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface LevelMapper extends BaseMapper<Level> {


    long getLevelCount(String levelName);

    List<Level> getLevels(String levelName, int pageNow, int pageSize);
}
